﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MachineVision.Defect.Services;
using MachineVision.Defect.ViewModels;
using MachineVision.Defect.Views;
using MachineVision.Shared.Services;
using Prism.Ioc;
using Prism.Modularity;

namespace MachineVision.Defect
{
    public class DefectModule : IModule
    {
        public void OnInitialized(IContainerProvider containerProvider) { }

        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            containerRegistry.Register<IProjectService, ProjectService>();

            containerRegistry.RegisterForNavigation<DefectView, DefectViewModel>();
        }
    }
}
